package com.wlb365.financing.modules.trade.response;

import com.wlb365.sdk.model.BaseResponse;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 凭证预览结果参数.
 *
 * @author zwh
 * @version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VoucherDetailRes extends BaseResponse {
    /**
     * 凭证id.
     */
    private String id;

    /**
     * 凭证金额，可能为空。.
     */
    private BigDecimal voucherAmount;

    /**
     * 合同编号.
     */
    private String contractNo;

    /**
     * 核心企业comp_id.
     */
    private String coreEnterpriseId;

    /**
     * 供应商comp_id.
     */
    private String supplierId;

    /**
     * 银行id，核心企业关联多家银行，供应商确定银行.
     */
    private String bankId;

    /**
     * 模板id.
     */
    private String templateId;

    /**
     * 凭证UI.
     */
    private String uiSchema;

    /**
     * 凭证数据.
     */
    private String jsonData;

    /**
     * 模板类型.
     */
    private Integer templateType;

    /**
     * 模板id.
     */
    private String signFlowId;

    /**
     * 交易日期.
     */
    private String tradeDate;

    private String status;

    private LocalDateTime sendTime;

    /**
     * 创建人.
     */
    private String createBy;

    private LocalDateTime createDate;

    private String templateData;

    private String voucherData;

    private List<TradeDetailProcess> processList;

}
